From 40f2b49c0dd711f6bac56cffdbbdd371a31e5e00 Mon Sep 17 00:00:00 2001 From: nana-4 Date: Sun, 22 Nov 2020 12:08:39 +0900 Subject: [PATCH] Adwaita: Make treeexpander styling generic The widget can be used outside .navigation-sidebar. This also fixes the label misalignment in the widget. --- gtk/theme/Adwaita/_common.scss | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss index 2e90668ddf..a5074872be 100644 --- a/gtk/theme/Adwaita/_common.scss +++ b/gtk/theme/Adwaita/_common.scss @@ -3311,6 +3311,10 @@ columnview { } } +treeexpander { + border-spacing: 4px; +} + /******************************************************** * Data Tables * * treeview like tables with individual focusable cells * @@ -3602,12 +3606,6 @@ separator.sidebar { // will make the animation of the new bookmark row jump > revealer { padding: 0 14px; } - expander { - margin: 0 8px 0 0; - - &:dir(rtl) { margin: 0 0 0 8px; } - } - &:selected { background-color: $menu_selected_color; color: $fg_color; -- 2.30.2